package com.it.heima.pojo;

public class Idcard {
    private String no;
   private String   nation;


    public Idcard() {
    }

    public Idcard(String no, String nation) {
        this.no = no;
        this.nation = nation;
    }

    /**
     * 获取
     * @return no
     */
    public String getNo() {
        return no;
    }

    /**
     * 设置
     * @param no
     */
    public void setNo(String no) {
        this.no = no;
    }

    /**
     * 获取
     * @return nation
     */
    public String getNation() {
        return nation;
    }

    /**
     * 设置
     * @param nation
     */
    public void setNation(String nation) {
        this.nation = nation;
    }

    public String toString() {
        return "Idcard{no = " + no + ", nation = " + nation + "}";
    }
}
